/*
 * Copyright (c) 2022-2023 cetcclout Co., Ltd All rights reserved.
 * Sensor Adapter is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package com.cetccloud.cimp.adapter.server.mqtt;

/**
 * @author
 * @apiNote 服务主题信息
 * @date 2022/7/11 10:40
 */
public class SystemContext {

    public static class  MqTopic {
        
    	/**
         * 平台操作下发主题
         {
             "ok": true,
             "code": 200,
             "msg": "success",
             "data":{
                 id:11,
                 status:1
             }
         }
         */
        public final static String SUB_START_OR_STOP_TOPIC = "server/sendStatus";
        
        /**
         * 服务状态嘻嘻你发布主题
         {
            "ok": true,
            "code": 200,
            "msg": "success",
            "data":{
                id:11,
                status:1
            }
         }
         */
        public final static String PUB_START_OR_STOP_TOPIC = "server/recStatus";

        /**
         * 刷新服务启动参数
         {
            "ok": true,
            "code": 200,
            "msg": "success",
            "data":{
                "serverId":11,
                "comment":""
            }
         }
         */
        public final static String PUB_START_RELOAD_START_PARAM_TOPIC = "server/sendStartParam";

        
    }
}
